package com.daoeping.service.impl;

import com.daoeping.dao.Usr_friendgroupDAO;
import com.daoeping.data.Usr_friend;
import com.daoeping.data.Usr_friendgroup;
import com.daoeping.domain.JsonData;
import com.daoeping.service.Usr_friendgroupService;

public class Usr_friendgroupServiceImpl implements Usr_friendgroupService {
	private Usr_friendgroupDAO usr_friendgroupDAO;
	
	public Usr_friendgroupDAO getUsr_friendgroupDAO() {
		return usr_friendgroupDAO;
	}

	public void setUsr_friendgroupDAO(Usr_friendgroupDAO usr_friendgroupDAO) {
		this.usr_friendgroupDAO = usr_friendgroupDAO;
	}

	@Override
	public boolean addUsr_friendgroup(Usr_friendgroup usr_friendgroup) {
		return usr_friendgroupDAO.insertData(usr_friendgroup);
	}

	@Override
	public JsonData findUsr_friendgroupList(Usr_friend usr_friend) {
		return usr_friendgroupDAO.findUsr_friendgroupList(usr_friend);
	}

}
